package com.boot.system.mapper;

import com.boot.system.entity.SysModule;
import com.mybatisflex.annotation.UseDataSource;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@UseDataSource("sqlite")
@Mapper
public interface ModuleMapper extends BaseMapper<SysModule> {

    /**
     * 通过编码查询模块信息
     * @param mid MID
     * @return 信息
     */
    SysModule selectByMid(@Param("mid") String mid);

}
